<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="format-detection" content="telephone=no,email=no" />
<link rel="shortcut icon" href="${root}favicon.ico" />
<meta name="keywords"
	content="心课堂,心教育,远程教育,公开课,网络公开课,在线学习,在线教育,在线培训,在线课堂,名师讲堂,视频课程" />
<meta name="description" itemprop="description"
	content="心课堂-心教育推出的专业在线教育平台，心教育课程提供国内外心理学名家专业而权威的心理学视频课程，内容涉及各类心理咨询、心理评估诊断、名家个案、心理学大师访谈等各类视频课程。" />
<meta itemprop="name" content="心课堂">
<meta itemprop="image" content="${root}img/icon.png" />
<title>心课堂_专业的在线心理教育平台(www.iepsy.com)</title>
<link rel="canonical" href="http://www.iepsy.com/" />
<link rel="stylesheet" href="${root}assets/css/zui.min.css">
<!-- <link rel="stylesheet" href='http://cdn.amazeui.org/amazeui/2.7.2/css/amazeui.min.css' /> -->
<link rel="stylesheet" href='${root}css/common.css' />
<link rel="stylesheet" href='${root}css/index.css' />
<!-- ZUI Javascript 依赖 jQuery -->
<script src="${root}assets/lib/jquery/jquery.js"></script>
<script type="text/javascript">
var host = window.location.host;
var www=host.substring(0, host.indexOf('.'))
/*if(www=="fm"){
	location.href="/fm/"
}else if(www.indexOf("admin")>0){
	location.href="/manage/"
}*/
</script>
</head>
<body>
	<h1 class="hide">心课堂</h1>
	<!-- qzone的头部模块 -->

	<!-- 首页头部模块 -->
	<!--:include("/inc/index/header.html"){}  -->
	<!-- 轮播banner图模块 -->
	<!--:include("/inc/index/banner.html"){}  -->
	<!-- 类目导航模块 -->
	<!--include("/inc/index/nav.html"){}  -->
	<!-- 兴趣类目选择 -->
	<!--include("/inc/index/category.html"){}  -->
	<div class="loading-container" id="loading-container"
		style="display: none;">
		<div class="loading-container-cnt">
			<img src="${root}images/loading.gif" alt="加载动画">
			<p>正在加载</p>
		</div>
	</div>
	
	<section class="cat-content" id="cat-content">
		<div class="container clearfix">
			<div class="container-1200"></div>
			<!--:include("/inc/index/live.html"){}  -->
			<div class="js-custom-course mod-sub custom-course-wrap" style="padding-left: 20px;">
	<br/>
	<h2>专题栏目</h2><br/>
<div id="myNiceCarousel1" class="carousel slide container-1200" data-ride="carousel">
  <!-- 圆点指示器 -->
  <ol class="carousel-indicators">
    <li data-target="#myNiceCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myNiceCarousel" data-slide-to="1" ></li>
    <li data-target="#myNiceCarousel" data-slide-to="2" ></li>
  </ol>

  <!-- 轮播项目 -->
  <div class="carousel-inner ">
  
    <div class="item active" style="text-align: center;padding-left: 120px;">
      <ul class="course-card-list" auto-test="">
      				<!--:for(var i=0;i<3;i++){ var zt=cache.zts[i];  -->
      				<li class="course-card-item" style="width: 300px;">
						<a href="${zt.url}" target="_blank" class="item-img-link" data-id="200249" data-index="1" report-tdw="action=Coursecard_Coursecover-clk&amp;ver1=200249&amp;ver3=custom-course.2.1" cors-name="course"> 
						<img style="width: 280px;height: 150px;" src="${www}${zt.img!}" alt="${zt.title!}" title="${zt.title!}" class="item-img" width="220" height="124" onerror="this.src='${root}images/wutu.jpg';this.onerror=null;">
						</a>
						<h6><small style="font-size: 15px;">${zt.title!}</small></h6>
						</li>
					<!--:}  -->
					</ul>
    </div>
    <div class="item " style="text-align: center;padding-left: 120px;">
      <ul class="course-card-list" auto-test="">
      					<!--:for(var i=3;i<6;i++){  var zt=cache.zts[i];  -->
      				<li class="course-card-item" style="width: 300px;">
						<a href="${zt.url}" target="_blank" class="item-img-link" data-id="200249" data-index="1" report-tdw="action=Coursecard_Coursecover-clk&amp;ver1=200249&amp;ver3=custom-course.2.1" cors-name="course"> 
						<img style="width: 280px;height: 150px;" src="${www}${zt.img!}" alt="${zt.title!}" title="${zt.title!}" class="item-img" width="220" height="124" onerror="this.src='${root}images/wutu.jpg';this.onerror=null;">
						</a>
						<h6><small style="font-size: 15px;">${zt.title!}</small></h6>
						</li>
					<!--:}  -->
					</ul>
    </div>
    <div class="item " style="text-align: center;padding-left: 120px;">
      <ul class="course-card-list" auto-test="">
      					<!--:for(var i=6;i<9;i++){  -->
      				<!--:var zt=cache.zts[i];  -->
      				<li class="course-card-item" style="width: 300px;">
						<a href="${zt.url}" target="_blank" class="item-img-link" data-id="200249" data-index="1" report-tdw="action=Coursecard_Coursecover-clk&amp;ver1=200249&amp;ver3=custom-course.2.1" cors-name="course"> 
						<img style="width: 280px;height: 150px;" src="${www}${zt.img!}" alt="${zt.title!}" title="${zt.title!}" class="item-img" width="220" height="124" onerror="this.src='${root}images/wutu.jpg';this.onerror=null;">
						</a>
						<h6><small style="font-size: 15px;">${zt.title!}</small></h6>
						</li>
					<!--:}  -->
					</ul>
    </div>
  </div>

  <!-- 项目切换按钮 -->
  <a class="left carousel-control" href="#myNiceCarousel1" style="background-color: white;background-image: none;" data-slide="prev">
    <span class="icon icon-chevron-left"></span>
  </a>
  <a class="right carousel-control" href="#myNiceCarousel1" style="background-color: white;background-image: none;" data-slide="next">
    <span class="icon icon-chevron-right"></span>
  </a>
</div>
</div>
			<!-- 自定义模块 -->
			<!--:include("/inc/index/list.html"){}  -->
			<!-- 自定义模块 -->
			<div class="container-1200">
				<div class="mod-sub mod-all-courses" data-mod="all-courses">
					<a class="mod-all-courses-link" href="${root}course/" title="全部课程"
						target="_blank"> <span>查看全部课程共 <strong>${cache.course_count}</strong>
							门课程
					</span> <i class="icon-font i-v-right"></i>
					</a>
				</div>
			</div>
		</div>
	</section>


	<!--:include("inc/index/agency.html"){}  -->
	<!-- 合作链接部分 -->
	<!--:include("/inc/index/link.html"){}  -->
	<!--包含尾部进来-->
	<!--:include("/inc/footer.html"){}  -->
	<!--:if(!isEmpty(session.user)&&(isEmpty(session.user.phone)||isEmpty(session.user.name))){  -->
	<div tabindex="-1" id="usermodelbg" class="overlay js-modal-bg "></div>
	<div id="usermodel" class="js-modal modal  modal--announcement  modal--scroll"
		style="width: 580px; margin-top: -225px; margin-left: -290px; display: block;bottom:auto;">
		<div class="modal-hd">
			<h3 class="hd-tt js-modal-title">
				完善个人信息
			</h3>
			<a href="javascript:void(0);" class="js-modal-close btn-close hide"
				title="关闭">×</a>
		</div>
		<div class="modal-bd " style="overflow-y:initial;">
			<div class="modal--announcement-body" style="padding: 30px;">
			<span><font color="#ff9969" size="+1">${session.user.nickname!}</font>，您好！</span><br/>
			<span>根据<a href="http://www.cac.gov.cn/2015-02/04/c_1114246561.htm" target="_blank">《互联网用户账号名称管理规定》</a>， </span><br/>
			<span>由于您的账号未通过验证，请填写您常用的手机及姓名后再访问心教育网站</span>
				<form id="userform" class="form-horizontal" style="margin-top: 30px;">
				
    <div class="form-group">
      <label for="exampleInputAccount4" class="col-sm-2">手机</label>
      <div class="col-md-6 col-sm-10">
        <input type="number" class="form-control" maxlength="11" id="phone" ${!isEmpty(session.user.phone)?'readonly':''} value="${session.user.phone!}" id="exampleInputAccount4" placeholder="请输入手机号">
      </div>
    </div>
    <div class="form-group">
      <label for="exampleInputPassword4" class="col-sm-2">姓名</label>
      <div class="col-md-6 col-sm-10">
        <input type="text" class="form-control" id="name" value="${session.user.name!}" placeholder="请输入姓名">
      </div>
    </div>
    <div class="modal-ft">
			<a href="javascript:void(0);" id="subuserform" title="提交资料"
				class="js-modal-yes btn-default">提交资料</a> <a
				href="javascript:void(0);" title="取消" class="js-modal-no btn-weak "
				style="display: none;">取消</a>
		</div>
  </form>
			</div>
		</div>
		
	</div>
	<script type="text/javascript">
		$(function() {
			$("#subuserform").click(function(){
				if($("#phone").val()==""){
					new $.zui.Messager('提示：手机号不能为空!', {
					    type: 'warning' // 定义颜色主题
					}).show();
				}else if($("#name").val()==""){
					new $.zui.Messager('提示：姓名不能为空!', {
					    type: 'warning' // 定义颜色主题
					}).show();
				}else{
				$.get("${root}json/users/ajax_update?id=${session.user.id}&phone="+$("#phone").val()+"&name="+$("#name").val(),function(data){
					//
				})
				$("#usermodel").css("display","none")
				$("#usermodelbg").addClass("hide");
				}
			})
		})
	</script>
	<!--:}  -->
	<!-- ZUI 标准版压缩后的 JavaScript 文件 -->
	<script src="${root}assets/js/zui.min.js"></script>
	<!-- amaze ui
	<script type="text/javascript" src="${root}js/jquery.min.js"></script>
	<script type="text/javascript" src="http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.min.js"></script>
	<script type="text/javascript" src="http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.ie8polyfill.min.js"></script>
	<script type="text/javascript" src="http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.widgets.helper.min.js"></script>
 -->
<script type="text/javascript">
$(document).ready(function(){
   
    })
</script>

</body>
</html>
